These functions are called indirect because they connect to an intermediate host before actually connecting to the NNTP server. All of these functions and related variables are also said to belong to the “via” family of connection: they're all prefixed with “via” to make things cleaner. The behavior of these functions is also affected by commonly understood variables (see Common Variables).
nntp-open-via-rlogin-and-netcatnetcat to connect to the real
NNTP server from there. This is useful for
instance if you need to connect to a firewall machine first.
nntp-open-via-rlogin-and-netcat-specific
variables:
nntp-via-rlogin-commandnntp-via-rlogin-command-switchesnntp-via-rlogin-command. The default is
nil. If you use ‘ssh’ for
nntp-via-rlogin-command, you may set this to
‘("-C")’
in order to compress all data connections.nntp-open-via-rlogin-and-telnettelnet
instead of ‘netcat’ to connect to the real
NNTP server from the intermediate host.
telnet is a bit less robust because of things
like line-end-conversion, but sometimes netcat
is simply not available.
nntp-open-via-rlogin-and-telnet-specific
variables:
nntp-telnet-commandnntp-telnet-switchesnntp-telnet-command command. The default is
("-8").nntp-via-rlogin-commandnntp-via-rlogin-command-switchesnntp-via-rlogin-command. If you use
‘ssh’,
you may need to set this to ‘("-t" "-e" "none")’ or
‘("-C" "-t" "-e"
"none")’ if the telnet command requires
a pseudo-tty allocation on an intermediate host. The
default is nil.Note that you may want to change the value for
nntp-end-of-line to ‘\n’ (see Common
Variables).
nntp-open-via-telnet-and-telnetnntp-open-via-telnet-and-telnet-specific
variables:
nntp-via-telnet-commandtelnet the intermediate host. The
default is ‘telnet’.nntp-via-telnet-switchesnntp-via-telnet-command command. The default
is ‘("-8")’.nntp-via-user-passwordnntp-via-envusernil, the intermediate telnet
session (client and server both) will support the
ENVIRON option and not prompt for login name.
This works for Solaris telnet, for
instance.nntp-via-shell-promptNote that you may want to change the value for
nntp-end-of-line to ‘\n’ (see Common
Variables).
Here are some additional variables that are understood by all the above functions:
nntp-via-user-namenntp-via-address